<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>WLog: Test.cpp源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- 制作者 Doxygen 1.5.8 -->
<script type="text/javascript">
<!--
function changeDisplayState (e){
  var num=this.id.replace(/[^[0-9]/g,'');
  var button=this.firstChild;
  var sectionDiv=document.getElementById('dynsection'+num);
  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
    sectionDiv.style.display='block';
    button.src='open.gif';
  }else{
    sectionDiv.style.display='none';
    button.src='closed.gif';
  }
}
function initDynSections(){
  var divs=document.getElementsByTagName('div');
  var sectionCounter=1;
  for(var i=0;i<divs.length-1;i++){
    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
      var header=divs[i];
      var section=divs[i+1];
      var button=header.firstChild;
      if (button!='IMG'){
        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
        button=document.createElement('img');
        divs[i].insertBefore(button,divs[i].firstChild);
      }
      header.style.cursor='pointer';
      header.onclick=changeDisplayState;
      header.id='dynheader'+sectionCounter;
      button.src='closed.gif';
      section.id='dynsection'+sectionCounter;
      section.style.display='none';
      section.style.marginLeft='14px';
      sectionCounter++;
    }
  }
}
window.onload = initDynSections;
-->
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>名字空间</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<h1>Test.cpp</h1><a href="Test_8cpp.html">浏览该文件的文档。</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#if 0</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00003"></a>00003 <span class="preprocessor">#include &lt;fstream&gt;</span>
<a name="l00004"></a>00004 <span class="comment">//#include "log.h"</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include "<a class="code" href="WLogInterface_8h.html">WLogInterface.h</a>"</span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="keyword">using namespace </span>std;
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="keywordtype">void</span> test_fatal();
<a name="l00010"></a>00010 <span class="keywordtype">void</span> test_assert();
<a name="l00011"></a>00011 <span class="keywordtype">void</span> test_setoutlevel();
<a name="l00012"></a>00012 <span class="keywordtype">void</span> test_setouter();
<a name="l00013"></a>00013 <span class="keywordtype">void</span> test_setlog();
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="comment">//之所以要定义成全局的，是因为怕在局部面定义后出作用域就销毁了</span>
<a name="l00016"></a>00016 ofstream os;
<a name="l00017"></a>00017 <span class="comment">//#pragma comment(lib, "WLogLib.lib")</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv)
<a name="l00020"></a>00020 {
<a name="l00021"></a>00021     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(!<a class="code" href="namespaceWLog.html#620aeb437d19cc9051eba3c2b1cfbc03" title="设置log与log的outer指针.">WLog::setOuterLog</a>(<span class="keyword">new</span> <a class="code" href="classWLog_1_1BlockOuter.html">WLog::BlockOuter</a>(std::cout), <span class="keyword">new</span> <a class="code" href="classWLog_1_1ILogProcess.html" title="Interface for process the logs.">WLog::ILogProcess</a>));
<a name="l00022"></a>00022 
<a name="l00023"></a>00023     test_setoutlevel(); 
<a name="l00024"></a>00024     test_setouter();
<a name="l00025"></a>00025     test_assert();
<a name="l00026"></a>00026     test_fatal();
<a name="l00027"></a>00027     
<a name="l00028"></a>00028     test_setlog();
<a name="l00029"></a>00029     
<a name="l00030"></a>00030     <span class="keywordflow">return</span> 0;
<a name="l00031"></a>00031 }
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keywordtype">void</span> test_fatal()
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035     <a class="code" href="WLogInterface_8h.html#13c5f5a1374c11e78b0931ed2b5fcc6f">notice</a>(<span class="stringliteral">"下一条语句是fatal,程序将终止！"</span>);
<a name="l00036"></a>00036     <a class="code" href="WLogInterface_8h.html#eb6ad588d9fde043f5a7ae20aef48e8c">fatal</a>(<span class="stringliteral">"在这里结束！"</span>);
<a name="l00037"></a>00037     <a class="code" href="WLogInterface_8h.html#0c5e59a7caaa02f887d077eaa467f209">error</a>(<span class="stringliteral">"这里执行不到！"</span>);
<a name="l00038"></a>00038 }
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="keywordtype">void</span> test_assert()
<a name="l00041"></a>00041 {
<a name="l00042"></a>00042     <a class="code" href="WLogInterface_8h.html#07b32b3e4728b7d10b82d882268e96fa">info</a>(<span class="stringliteral">"下一条语句是assert,程序将会根据条件判断是否应该assert,如果结果为真，不会影响，如果为假，就会记录下后再assert!"</span>);
<a name="l00043"></a>00043     <span class="keywordtype">int</span> a = 0;
<a name="l00044"></a>00044     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(a == 0);
<a name="l00045"></a>00045     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(a != 0);
<a name="l00046"></a>00046     <a class="code" href="WLogInterface_8h.html#0c5e59a7caaa02f887d077eaa467f209">error</a>(<span class="stringliteral">"这里执行不到！"</span>);
<a name="l00047"></a>00047 }
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="keywordtype">void</span> test_setoutlevel()
<a name="l00050"></a>00050 {
<a name="l00051"></a>00051     <a class="code" href="WLogInterface_8h.html#07b32b3e4728b7d10b82d882268e96fa">info</a>(<span class="stringliteral">"可以输出info"</span>);
<a name="l00052"></a>00052     <a class="code" href="WLogInterface_8h.html#322565ccf348d13e4d3de13af771e5fc">debug</a>(<span class="stringliteral">"可以输出debug"</span>);
<a name="l00053"></a>00053     <span class="keywordtype">int</span> nLastLevel = <a class="code" href="namespaceWLog.html#88d869c121c4e8992922002033ac06c6" title="获取log指针.">WLog::getLog</a>()-&gt;getOutLevel();
<a name="l00054"></a>00054     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(<a class="code" href="namespaceWLog.html#121adb4c1a83fb9272cc01323d4da656" title="设置log的输出级别.">WLog::setOutLevel</a>(<a class="code" href="WLDefine_8h.html#7f1da0a3570643530d2cb569a47e11a2">W_LEVEL_DEBUG</a>));
<a name="l00055"></a>00055     <a class="code" href="WLogInterface_8h.html#07b32b3e4728b7d10b82d882268e96fa">info</a>(<span class="stringliteral">"由于info的级别比debug的小，故现在不能输出！"</span>);
<a name="l00056"></a>00056     <a class="code" href="WLogInterface_8h.html#322565ccf348d13e4d3de13af771e5fc">debug</a>(<span class="stringliteral">"大于等于debug的级别都可以输出！, 上一次的level为%d"</span>, nLastLevel);
<a name="l00057"></a>00057     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(<a class="code" href="namespaceWLog.html#121adb4c1a83fb9272cc01323d4da656" title="设置log的输出级别.">WLog::setOutLevel</a>()); 
<a name="l00058"></a>00058     <a class="code" href="WLogInterface_8h.html#07b32b3e4728b7d10b82d882268e96fa">info</a>(<span class="stringliteral">"已经将输出级别设置成了最低级别，所有的都能输出！"</span>);
<a name="l00059"></a>00059 }
<a name="l00060"></a>00060 
<a name="l00061"></a>00061 <span class="keywordtype">void</span> test_setouter()
<a name="l00062"></a>00062 {
<a name="l00063"></a>00063     os.open(<a class="code" href="namespaceWLog.html#157286d8013463871f20a6bfb039cac1" title="以当前的时间创建文件名">WLog::buildFileNameNow</a>().c_str());
<a name="l00064"></a>00064     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(os.is_open());
<a name="l00065"></a>00065     <a class="code" href="classWLog_1_1IOuter.html" title="Interface for output Record with define Log Level.">WLog::IOuter</a>* pOldOuter = <a class="code" href="namespaceWLog.html#251ca1d97c3062af94fc5471724dd6a1" title="设置log的输出outer指针.">WLog::setOuter</a>(<span class="keyword">new</span> <a class="code" href="classWLog_1_1XmlOuter.html" title="对IOuter实现xml格式输出">WLog::XmlOuter</a>(os, <span class="stringliteral">"GBK"</span>));
<a name="l00066"></a>00066     <span class="keywordflow">if</span> (pOldOuter)
<a name="l00067"></a>00067     {
<a name="l00068"></a>00068         <a class="code" href="WLogInterface_8h.html#13c5f5a1374c11e78b0931ed2b5fcc6f">notice</a>(<span class="stringliteral">"即时删除，之前的一个Outer, 删除？？？"</span>);
<a name="l00069"></a>00069         <span class="keyword">delete</span> pOldOuter;
<a name="l00070"></a>00070         pOldOuter = 0;
<a name="l00071"></a>00071     }
<a name="l00072"></a>00072     <span class="keywordflow">else</span>
<a name="l00073"></a>00073     {
<a name="l00074"></a>00074         <a class="code" href="WLogInterface_8h.html#468c01a57c439a444e1bc12c2138e6ba">warning</a>(<span class="stringliteral">"之前没有Outer!"</span>);
<a name="l00075"></a>00075     }
<a name="l00076"></a>00076 
<a name="l00077"></a>00077     <a class="code" href="WLogInterface_8h.html#13c5f5a1374c11e78b0931ed2b5fcc6f">notice</a>(<span class="stringliteral">"已经将输出设置成了cout的XmlOuter!"</span>);
<a name="l00078"></a>00078     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(<a class="code" href="namespaceWLog.html#88d869c121c4e8992922002033ac06c6" title="获取log指针.">WLog::getLog</a>());
<a name="l00079"></a>00079 }
<a name="l00080"></a>00080 
<a name="l00081"></a>00081 <span class="keywordtype">void</span> test_setlog()
<a name="l00082"></a>00082 {
<a name="l00083"></a>00083     <a class="code" href="classWLog_1_1ILogProcess.html" title="Interface for process the logs.">WLog::ILogProcess</a>* pOldLog = <a class="code" href="namespaceWLog.html#4c90989d4645c6ecd9d9113c3dc64fcd" title="设置log指针.">WLog::setLog</a>(<span class="keyword">new</span> <a class="code" href="classWLog_1_1ILogProcess.html" title="Interface for process the logs.">WLog::ILogProcess</a>);
<a name="l00084"></a>00084     <span class="comment">//这时候还不能使用WLog里面的输出函数，因为新的Log没有Outer</span>
<a name="l00085"></a>00085     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(0 == <a class="code" href="namespaceWLog.html#251ca1d97c3062af94fc5471724dd6a1" title="设置log的输出outer指针.">WLog::setOuter</a>(<span class="keyword">new</span> <a class="code" href="classWLog_1_1RegularOuter.html" title="对IOuter实现正规的格式输出">WLog::RegularOuter</a>(std::cout)));
<a name="l00086"></a>00086     <span class="keywordflow">if</span> (pOldLog)
<a name="l00087"></a>00087     {
<a name="l00088"></a>00088         <a class="code" href="WLogInterface_8h.html#13c5f5a1374c11e78b0931ed2b5fcc6f">notice</a>(<span class="stringliteral">"之前的一个pOldLog, 删除？？？"</span>);
<a name="l00089"></a>00089         <span class="keywordflow">if</span> (pOldLog-&gt;<a class="code" href="classWLog_1_1ILogProcess.html#51eb815cb699c63c370bee4788a285b0" title="获取类的输出对象IOuter.">getOuter</a>())
<a name="l00090"></a>00090         {
<a name="l00091"></a>00091             <a class="code" href="WLogInterface_8h.html#468c01a57c439a444e1bc12c2138e6ba">warning</a>(<span class="stringliteral">"不要忘记，如果不要他的Outer了也要删除，也可将其保存下来今后再用！"</span>);
<a name="l00092"></a>00092             <span class="keyword">delete</span> pOldLog-&gt;<a class="code" href="classWLog_1_1ILogProcess.html#51eb815cb699c63c370bee4788a285b0" title="获取类的输出对象IOuter.">getOuter</a>();
<a name="l00093"></a>00093         }
<a name="l00094"></a>00094         <span class="keyword">delete</span> pOldLog;
<a name="l00095"></a>00095         pOldLog = 0;
<a name="l00096"></a>00096     }
<a name="l00097"></a>00097     <span class="keywordflow">else</span>
<a name="l00098"></a>00098     {
<a name="l00099"></a>00099         <a class="code" href="WLogInterface_8h.html#468c01a57c439a444e1bc12c2138e6ba">warning</a>(<span class="stringliteral">"之前没有Log!"</span>);
<a name="l00100"></a>00100     }
<a name="l00101"></a>00101     
<a name="l00102"></a>00102     <a class="code" href="WLogInterface_8h.html#13c5f5a1374c11e78b0931ed2b5fcc6f">notice</a>(<span class="stringliteral">"已经将Log设置成了新的Log方式!"</span>);
<a name="l00103"></a>00103     <a class="code" href="WLogInterface_8h.html#07b32b3e4728b7d10b82d882268e96fa">info</a>(<span class="stringliteral">"为新的Log设置Outer"</span>);
<a name="l00104"></a>00104     
<a name="l00105"></a>00105     
<a name="l00106"></a>00106 }
<a name="l00107"></a>00107 <span class="preprocessor">#endif</span>
<a name="l00108"></a>00108 <span class="preprocessor"></span>
<a name="l00109"></a>00109 <span class="preprocessor">#if 0</span>
<a name="l00110"></a>00110 <span class="preprocessor"></span>
<a name="l00111"></a>00111 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00112"></a>00112 <span class="preprocessor">#include &lt;fstream&gt;</span>
<a name="l00113"></a>00113 <span class="preprocessor">#include &lt;cstdio&gt;</span>
<a name="l00114"></a>00114 
<a name="l00115"></a>00115 <span class="preprocessor">#include "<a class="code" href="ILevel_8h.html">ILevel.h</a>"</span>
<a name="l00116"></a>00116 <span class="preprocessor">#include "<a class="code" href="XmlOuter_8h.html">XmlOuter.h</a>"</span>
<a name="l00117"></a>00117 <span class="preprocessor">#include "<a class="code" href="WLogInterface_8h.html">WLogInterface.h</a>"</span>
<a name="l00118"></a>00118 <span class="preprocessor">#include "<a class="code" href="BlockOuter_8h.html">BlockOuter.h</a>"</span>
<a name="l00119"></a>00119 
<a name="l00120"></a>00120 <span class="keyword">using namespace </span>std;
<a name="l00121"></a>00121 <span class="keyword">using namespace </span>WLog;
<a name="l00122"></a>00122 
<a name="l00123"></a>00123 <span class="keywordtype">int</span> main()
<a name="l00124"></a>00124 {
<a name="l00125"></a>00125     IOuter* pOuter;
<a name="l00126"></a>00126     
<a name="l00127"></a>00127     ILogProcess* pLog;
<a name="l00128"></a>00128     ofstream os(<a class="code" href="namespaceWLog.html#157286d8013463871f20a6bfb039cac1" title="以当前的时间创建文件名">buildFileNameNow</a>(<span class="stringliteral">""</span>, <span class="stringliteral">".xml"</span>).c_str());
<a name="l00129"></a>00129     pOuter = <span class="keyword">new</span> XmlOuter(os, <span class="stringliteral">"GBK"</span>);
<a name="l00130"></a>00130     pLog =  <span class="keyword">new</span> ILogProcess;
<a name="l00131"></a>00131     ILogProcess* pLogOld = <a class="code" href="namespaceWLog.html#620aeb437d19cc9051eba3c2b1cfbc03" title="设置log与log的outer指针.">setOuterLog</a>(pOuter,pLog);
<a name="l00132"></a>00132     <span class="keywordflow">if</span> (!pLogOld)
<a name="l00133"></a>00133     {
<a name="l00134"></a>00134         
<a name="l00135"></a>00135         <span class="keyword">delete</span> pLogOld;
<a name="l00136"></a>00136     }   
<a name="l00137"></a>00137     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(<a class="code" href="namespaceWLog.html#121adb4c1a83fb9272cc01323d4da656" title="设置log的输出级别.">setOutLevel</a>(<a class="code" href="WLDefine_8h.html#7f1da0a3570643530d2cb569a47e11a2">W_LEVEL_DEBUG</a>)); <span class="comment">//just &gt;= debug</span>
<a name="l00139"></a>00139 <span class="comment"></span>    <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(pLogOld == NULL);
<a name="l00140"></a>00140     <a class="code" href="WLogInterface_8h.html#07b32b3e4728b7d10b82d882268e96fa">info</a>(<span class="stringliteral">"infor aa"</span>);
<a name="l00141"></a>00141     <a class="code" href="WLogInterface_8h.html#322565ccf348d13e4d3de13af771e5fc">debug</a>(<span class="stringliteral">"debug cout..."</span>);
<a name="l00142"></a>00142     
<a name="l00143"></a>00143     ofstream of(<a class="code" href="namespaceWLog.html#157286d8013463871f20a6bfb039cac1" title="以当前的时间创建文件名">buildFileNameNow</a>().c_str());
<a name="l00144"></a>00144     <span class="comment">//IOuter * pOldOuter = setOuter(new RegularOuter(of));</span>
<a name="l00145"></a>00145     <span class="comment">//delete pOldOuter;</span>
<a name="l00146"></a>00146     
<a name="l00147"></a>00147     
<a name="l00148"></a>00148     <span class="comment">//   info(__FUNCTION__);</span>
<a name="l00149"></a>00149     <a class="code" href="WLogInterface_8h.html#468c01a57c439a444e1bc12c2138e6ba">warning</a>(<span class="stringliteral">"_FUNCTION_NAME_=%s"</span>,<a class="code" href="OS_8h.html#21f75e0848b1353f0181241886babf80" title="现支持四个编译环境GCC, VC6.0, VS2005, VS2008">_FUNCTION_NAME_</a>);
<a name="l00150"></a>00150     <span class="keywordtype">bool</span> bOld = <a class="code" href="namespaceWLog.html#14984727b0b46ea36398e5ebac29ef56" title="设置输出日志中，是否只保留文件名，而不要路径.">setTrimFileName</a>(<span class="keyword">true</span>);
<a name="l00151"></a>00151     <span class="comment">//  warning("__FUNC__=%s", __func__);</span>
<a name="l00152"></a>00152     
<a name="l00153"></a>00153     <a class="code" href="WLogInterface_8h.html#0c5e59a7caaa02f887d077eaa467f209">error</a>(<span class="stringliteral">"this is a test 中文件%s--&gt;%d, %d"</span>, <span class="stringliteral">"我晕"</span>, 12, (<span class="keywordtype">int</span>)bOld);
<a name="l00154"></a>00154     <span class="comment">//fatal("出大问题了");</span>
<a name="l00155"></a>00155     <a class="code" href="WLogInterface_8h.html#13c5f5a1374c11e78b0931ed2b5fcc6f">notice</a>(<span class="stringliteral">"mmd"</span>);
<a name="l00156"></a>00156     <a class="code" href="WLogInterface_8h.html#e04293253b669ea7b9882c968030eeed">output</a>(<span class="stringliteral">"这是一个很开心的(%d)天"</span>, 2200);
<a name="l00157"></a>00157     
<a name="l00158"></a>00158     <a class="code" href="WLogInterface_8h.html#376d6dc5d2ccfed0a99c3d88a107a702">wassert</a>(<a class="code" href="namespaceWLog.html#121adb4c1a83fb9272cc01323d4da656" title="设置log的输出级别.">setOutLevel</a>()); <span class="comment">//just &gt;= debug</span>
<a name="l00159"></a>00159     ofstream of2(<a class="code" href="namespaceWLog.html#157286d8013463871f20a6bfb039cac1" title="以当前的时间创建文件名">buildFileNameNow</a>().c_str());
<a name="l00160"></a>00160     <span class="keyword">delete</span>  <a class="code" href="namespaceWLog.html#251ca1d97c3062af94fc5471724dd6a1" title="设置log的输出outer指针.">setOuter</a>(<span class="keyword">new</span> BlockOuter(of2));
<a name="l00161"></a>00161     <a class="code" href="WLogInterface_8h.html#13c5f5a1374c11e78b0931ed2b5fcc6f">notice</a>(<span class="stringliteral">"this is a test"</span>);
<a name="l00162"></a>00162     <a class="code" href="WLogInterface_8h.html#0c5e59a7caaa02f887d077eaa467f209">error</a>(<span class="stringliteral">"this is a test 中文件%s--&gt;%d, %d"</span>, <span class="stringliteral">"我晕"</span>, 12, (<span class="keywordtype">int</span>)bOld);
<a name="l00163"></a>00163     <a class="code" href="WLogInterface_8h.html#0c5e59a7caaa02f887d077eaa467f209">error</a>(<span class="stringliteral">"this is a test 中文件%s--&gt;%d, %d"</span>, <span class="stringliteral">"我晕"</span>, 12, (<span class="keywordtype">int</span>)bOld);
<a name="l00164"></a>00164     <a class="code" href="WLogInterface_8h.html#0c5e59a7caaa02f887d077eaa467f209">error</a>(<span class="stringliteral">"this is a test 中文件%s--&gt;%d, %d"</span>, <span class="stringliteral">"我晕"</span>, 12, (<span class="keywordtype">int</span>)bOld);
<a name="l00165"></a>00165     <a class="code" href="WLogInterface_8h.html#0c5e59a7caaa02f887d077eaa467f209">error</a>(<span class="stringliteral">"this is a test 中文件%s--&gt;%d, %d"</span>, <span class="stringliteral">"我晕"</span>, 12, (<span class="keywordtype">int</span>)bOld);
<a name="l00166"></a>00166     <a class="code" href="WLogInterface_8h.html#e04293253b669ea7b9882c968030eeed">output</a>(<span class="stringliteral">"这是一个很开心的(%d)天\n"</span>, 2200);
<a name="l00167"></a>00167     <a class="code" href="WLogInterface_8h.html#07b32b3e4728b7d10b82d882268e96fa">info</a>(<span class="stringliteral">"asdffffffffffffffffffffffffffd"</span>);
<a name="l00168"></a>00168     <span class="keyword">delete</span> pLog-&gt;getOuter();
<a name="l00169"></a>00169     <span class="keyword">delete</span> pLog;
<a name="l00170"></a>00170     
<a name="l00171"></a>00171     system(<span class="stringliteral">"pause"</span>);
<a name="l00172"></a>00172     <span class="keywordflow">return</span> 0;
<a name="l00173"></a>00173 }
<a name="l00174"></a>00174 <span class="preprocessor">#endif </span>
</pre></div></div>
<hr>
<address style="align: right;">
  Generated on Mon Apr 6 21:08:12 2009 for WLog by 韦体东<img src="logo.png" align="middle"/></address>
</body>
</html>
